﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace BaseWindow.ViewModel
{
    class PrintViewModel : Notify
    {

        private DateTime? timeUP;
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? TimeUP
        {
            get => timeUP; set { timeUP = value; RaisePropertyChanged("TimeUP"); }
        }
        string _Mode = "";
        public string Mode
        {
            get => _Mode; set { _Mode = value; RaisePropertyChanged("Mode"); }
        }
        Visibility _RiLiVisibility = Visibility.Collapsed;
        /// <summary>
        /// sn
        /// </summary>
        public Visibility RiLiVisibility
        {
            get => _RiLiVisibility; set { _RiLiVisibility = value; RaisePropertyChanged("RiLiVisibility"); }
        }
        Visibility _MACVisibility = Visibility.Collapsed;
        /// <summary>
        /// MAC
        /// </summary>
        public Visibility MACVisibility
        {
            get => _MACVisibility; set { _MACVisibility = value; RaisePropertyChanged("MACVisibility"); }
        }
        Visibility _ZhuoPaiVisibility = Visibility.Collapsed;
        /// <summary>
        /// 序列号
        /// </summary>
        public Visibility ZhuoPaiVisibility
        {
            get => _ZhuoPaiVisibility; set { _ZhuoPaiVisibility = value; RaisePropertyChanged("ZhuoPaiVisibility"); }
        }
        Visibility _IMEIVisibility = Visibility.Collapsed;
        /// <summary>
        /// IMEI和ICC
        /// </summary>
        public Visibility IMEIVisibility
        {
            get => _IMEIVisibility; set { _IMEIVisibility = value; RaisePropertyChanged("IMEIVisibility"); }
        }

        private List<string> ModeproData_ = new List<string>()
        {
            { "一月"},{"三月"},{"半年"},{ "一年"},{ "三年"},{"永久"},
        };
        //日志缓存时间下拉框
        public List<string> ModeproData
        { 
            get => ModeproData_; set { ModeproData_ = value; RaisePropertyChanged("ModeproData"); } 
        }

        private int ModeproCount_;
        public int ModeproCount { get => ModeproCount_; set { ModeproCount_ = value; RaisePropertyChanged("ModeproCount"); } }

        private int ModeproIndex_;
        public int ModeproIndex { get => ModeproIndex_; set { ModeproIndex_ = value; RaisePropertyChanged("ModeproIndex"); } }
        string _SN = "";
        public string SN
        {
            get => _SN; set { _SN = value; RaisePropertyChanged("SN"); }
        }
        string _ProSN = "";
        public string ProSN
        {
            get => _ProSN; set { _ProSN = value; RaisePropertyChanged("ProSN"); }
        }
        string _MAC = "";
        public string MAC
        {
            get => _MAC; set { _MAC = value; RaisePropertyChanged("MAC"); }
        }
        string _ICC = "";
        public string ICC
        {
            get => _ICC; set { _ICC = value; RaisePropertyChanged("ICC"); }
        }
        string _IMEI = "";
        public string IMEI
        {
            get => _IMEI; set { _IMEI = value; RaisePropertyChanged("IMEI"); }
        }
        bool _Powerboot = false;
        public bool Powerboot
        {
            get => _Powerboot; set { _Powerboot = value; RaisePropertyChanged("Powerboot"); }
        }
    }
}
